# -*- coding:utf-8 -*-
from flask import Flask, render_template, request


app = Flask(__name__)


# 视图
@app.route('/')
def index():
    return render_template('index.html')


# 表单视图测试
@app.route('/forms', methods=['GET', 'POST'])
def forms():
    if request.method == 'GET':
        return render_template('forms.html')
    elif request.method == 'POST':
        print()
        pass


if __name__ == '__main__':
    app.run()
